<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        // 监听sql
        $this->app->register(\Illuminate\Database\DatabaseServiceProvider::class);
        // 注册redis
        $this->app->register(\Illuminate\Redis\RedisServiceProvider::class);
        // 注册jwt
        $this->app->register(\Tymon\JWTAuth\Providers\LumenServiceProvider::class);
    }
}
